import { defineStore } from 'pinia'
export const useCounterStore = defineStore('counter', () => {
 function mydata(){
  let username=localStorage.getItem('username')
  dianhua:18646178828
  tupian:'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg'

 }
  return { mydata }
},
// 持久化
 {
    persist: true,
  },
)